<%= GMap.header %>
<%= @map.to_html %>
<table class="center">
  <%= form.text_field :name, :required => true, :label => Artist.l_attr('name') %>
  <%= form.text_field :age, :required => false, :label => Artist.l_attr('age')%>
  <%= form.text_field :hometown, :required => false, :label => Artist.l_attr('hometown')%>
    <tr>
      <td class="tdRight">
        <label for="region">
          <%= Region.l_name.capitalize %> <span class="required"><%= l(:common, :required) %></span>:
        </label>
      </td>
      <td>
      	<% if false %>
        	<%= @artist.region.name %>
		<% else %>
		    <%= collection_select(:artist, :region_id, Region.find(:all), :id, :name, { :prompt => "Select a Region" }, html_options = {:class => "adminFields"})%>		
		<% end %>
      </td>
    </tr>
    <tr>
		<td colspan="2">
			Use the map below to select the location of this artist.  The location of the red marker signifies where the artist's location
			will be.  If you would rather not include a location for this artist, then check the box below the map.
		</td>
	</tr>
    <tr>
    	<td colspan="2">
    		<%= @map.div(:width => 515, :height => 180) %>
    	</td>
    </tr>
	<tr>
		<td colspan="2">
			insert checkbox
		</td>
	</tr>
    <tr>
      <td colspan=2 class="tdCenter">
          <%= form.submit Artist.l_attr('update basic') %>
      </td>
    </tr>
</table>